package com.misty.admin.service;

import com.misty.common.bean.Result;
import com.misty.dao.domain.Type;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cthulhu
 * @since 2022-11-21
 */
public interface TypeService extends IService<Type> {

    Result<?> saveType(Type type);

    Result<?> updateType(Type type);

    Result<?> deleteType(Integer typeId);

    Result<?> Page(Integer pageNum, Integer pageSize, String search
    );
}
